package test4;

import java.io.IOException;
import java.net.ServerSocket;
import java.net.Socket;

public class servertest {
    public static void main(String[] args) throws IOException {
        ServerSocket ss = new ServerSocket(9898);
        while (true){
            Socket accept = ss.accept();
            new server(accept).start();
        }

    }
}
